package com.xiamaliu.factory;

import com.xiamaliu.INote;
import com.xiamaliu.IVideo;
import com.xiamaliu.impl.java.JavaNote;
import com.xiamaliu.impl.java.JavaVideo;

public class JavaCourseFactory extends CourseFactory {

    @Override
    public INote createNote() {
        return new JavaNote();
    }

    @Override
    public IVideo createVideo() {
        return new JavaVideo();
    }

}
